package com.apexsoft.margin.account.management.domain.excel.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * 专户锁回收 domain
 */
@TableName("T_RECYCLE")
public class RecycleDomain {

    @ExcelProperty("ID")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ExcelProperty("处理")
    @TableField("result_code")
    private Integer resultCode; // 1: true ; 0:false
//    private String resultCode; // 1: true ; 0:false

    @ExcelProperty("存在与否")
    private Integer exist; // 1:true ; 0:false
//    private String exist; // 1:true ; 0:false

    @ExcelProperty("处理信息")
    @TableField("result_note")
    private String resultNote;

    @ExcelProperty("文件标识")
    @TableField("file_code")
    private String fileCode;

    @ExcelProperty("机构编码")
    private String brhid ; // C4 机构编码
    @ExcelProperty("资金账号")
    private String fundid ; // C16 资金账号
    @ExcelProperty("市场")
    private String market ; // C1 交易市场
    //    stkcode	C8	证券代码
    @ExcelProperty("股票代码")
    private Integer stkcode ; //  股票代码,没有找到股票代码，暂时使用“证券代码”进行测试
    @ExcelProperty("回收数量")
    private Double ajustqty ; //	N20(2)	分配或回收数量

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getResultCode() {
        return resultCode;
    }

    public void setResultCode(Integer resultCode) {
        this.resultCode = resultCode;
    }

    public Integer getExist() {
        return exist;
    }

    public void setExist(Integer exist) {
        this.exist = exist;
    }

    public String getResultNote() {
        return resultNote;
    }

    public void setResultNote(String resultNote) {
        this.resultNote = resultNote;
    }

    public String getFileCode() {
        return fileCode;
    }

    public void setFileCode(String fileCode) {
        this.fileCode = fileCode;
    }

    public String getBrhid() {
        return brhid;
    }

    public void setBrhid(String brhid) {
        this.brhid = brhid;
    }

    public String getFundid() {
        return fundid;
    }

    public void setFundid(String fundid) {
        this.fundid = fundid;
    }

    public String getMarket() {
        return market;
    }

    public void setMarket(String market) {
        this.market = market;
    }

    public Integer getStkcode() {
        return stkcode;
    }

    public void setStkcode(Integer stkcode) {
        this.stkcode = stkcode;
    }

    public Double getAjustqty() {
        return ajustqty;
    }

    public void setAjustqty(Double ajustqty) {
        this.ajustqty = ajustqty;
    }
}
